﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[System.Serializable] public class Skill
{
	public int skillName;
	public int level = 1;
	public int xp = 0;

	public void Reset()
	{
		level = 1;
		xp = 0;
		if (skillName == (int)GameConstants.SkillType.health)
		{
			level = 10;
		}
	}

	public void GainXP(int amount)
	{
		xp += amount;
	}
}
